use strict;
use Fetion;
use Data::Dumper;

print "init..", Fetion::fx_init(), "\n";
Fetion::fs_login($ARGV[0] , $ARGV[1] ) || die " cannot login , try again please\n";
print "get account", Dumper( Fetion::fx_get_account() ), "\n"; 
#print "send to self",  Fetion::fs_send_sms_to_self("Hello, I love you"), "\n";
#print "send to 1352..",  Fetion::fs_send_sms_by_mobile_no("13524328289", "test mobile no"), "\n";
#send to someuser of feixin
print "send to 440227509",  Fetion::fs_send_sms(440227509, "你这个白痴"), "\n";

print "loginout", Fetion::fx_loginout(), "\n";
print "terminate", Fetion::fx_terminate(), "\n";
